package com.link.base.base.productplan.dao.mybatis.mapper;


import com.link.base.basic.model.ListOfValue;
import com.link.base.base.productplan.model.ProdPlanHead;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 * @comments 产品计划信息
 */
public interface ProdPlanHeadMapper extends BasicMapper<ProdPlanHead> {

    /**
     * 通过类型获取
     *
     * @param type
     * @return List ListOfValue
     */
    public List<ListOfValue> queryListOfValbyType(String type);

    /**
     * 通过id获取
     *
     * @param parent_id
     * @return List ListOfValue
     */
    public List<ListOfValue> queryListOfValbyPId(Long parent_id);
}
